﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Category
/// </summary>
public class DTO_Category
{
    private int _Cgid;
    private string _Name;
    private int _Type;
    private int _Status;

    public int Cgid
    {
        get { return _Cgid; }
        set { _Cgid = value; }
    }
    public string Name
    {
        get { return _Name; }
        set { _Name = value; }
    }
    public int Type
    {
        get { return _Type; }
        set { _Type = value; }
    }
    public int Status
    {
        get { return _Status; }
        set { _Status = value; }
    }
	public DTO_Category()
	{
        _Cgid = 0;
        _Name = string.Empty;
        _Type = 0;
        _Status = 0;
	}
    public DTO_Category(int cgid, string name, int type, int status)
    {
        this.Cgid = cgid;
        this.Name = name;
        this.Type = type;
        this.Status = status;
    }
    public DTO_Category(DTO_Category obj)
    {
        this.Cgid = obj.Cgid;
        this.Name = obj.Name;
        this.Type = obj.Type;
        this.Status = obj.Status;
    }
    
}